package com.sls.game.dao.nutsnet;

import java.util.List;

import com.sls.game.pojo.nutsnet.NutsNetGoodsAreaInfo;

/**
 * 
 * @description 坚果网络商品支持区域DAO
 * @author Wangxuegang
 * @date 2012-11-1
 * 
 */
public interface NutsNetGoodsAreaDAO {

	/**
	 * 记录插入
	 * 
	 * @param nutsNetGoodsAreaInfo
	 */
	public void insert(NutsNetGoodsAreaInfo nutsNetGoodsAreaInfo);

	/**
	 * 记录查询
	 * 
	 * @param nutsNetGoodsAreaInfo
	 * @return
	 */
	public List<NutsNetGoodsAreaInfo> queryGameArea(NutsNetGoodsAreaInfo nutsNetGoodsAreaInfo);

	/**
	 * 通过goodsId,gameAreaName查询一条记录
	 * 
	 * @param nutsNetGoodsAreaInfo
	 * @return
	 */
	public List<NutsNetGoodsAreaInfo> queryOneOrMoreGameArea(NutsNetGoodsAreaInfo nutsNetGoodsAreaInfo);
	
	/**
	 * 删除记录
	 * @param id
	 */
	public void deleteById(String id);

}
